package com.homework1;
import java.io.File;

public class demo01 {
    public static void main(String[] args) {
        String string ="C://a.txt";
        File file = new File(string);
        String p="C://";
        String s="a.txt";
        File file1 = new File(p, s);
        System.out.println(file);
        System.out.println(file1);
    }
}
